module.exports = {
    configureWebpack:{
        devServer: {
            before(app){
                app.get('/api/goods',function (req,res) {
                    res.json({
                        code:0,
                        list:[
                            {id: "1", text: "web全栈架构师", price: 1000},
                            {id: "2", text: "java全栈架构师", price: 1000}
                        ]
                    })

                })

            }
        }
    }
}